package com.server;

import NinetyNine.*;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author JOKE
 * Remote Interface
 */
@Remote
public interface NinetyNineGameBeanRemote {

    int register(String username, String password);

    int login(String username, String password);

    Deck getHand(int UID);

    int ready(int UID);

    boolean startGame();

    Card playNinetyNine(Card played, boolean add);

    boolean iQuit();

    boolean logout(int UID);

    boolean destroyPlayer(int UID);

    ScoreBoard getScores();

    String[][] getPlayers();

    List<Player> getOnlinePlayers();

    boolean setGameState(boolean playing, int CP, int total, int order, Card LCP,
            int count, int turn, Hashtable players, ArrayList AP, Deck DD,
            Deck GD, NinetyNineMessage msg, Player admin, PlayerEntity results);

}
